package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Permission;
import org.w3c.dom.stylesheets.LinkStyle;

import java.util.List;

/**
 * @author huangguofeng
 * @description 权限管理service
 * @date 2019/1/2
 **/
public interface PermissionService {

    List<Permission> findAll();

    PageResult pageQuery(QueryPageBean queryPageBean);

    void add(Permission permission);

    void edit(Permission permission);

    Permission findById(Integer id);

    void delete(Integer id);

    List<Integer> findPermissionIdsByRoleId(Integer id);
}
